package com.youbug.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.youbug.common.config.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 客户信息表
 * </p>
 *
 * @author youbug
 * @since 2023-03-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Customer对象", description="客户信息表")
public class Customer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "手机号")
    private String telephone;

    @ApiModelProperty(value = "客户姓名")
    private String customerName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "是否删除 1：已删除；0：未删除")
    private Integer isDelete;
    @TableField(exist = false)
    private String verifyCode;

}
